Developing Safety Contracts for OO Systems

نویسنده

  • R. D. Hawkins
چکیده

The use of an object oriented (OO) approach brings potentially large savings in terms of time and cost for developers of safety critical systems. OO systems have improved maintainability due to encapsulation, high cohesion and low coupling, and the facility for reuse through inheritance and design patterns. This raises specific challenges for developers of OO safety critical systems who wish to take full advantage of these features. To realise the benefits requires an ability to reason about the safety of individual classes or components in the system. This is quite difficult to achieve with most existing safety analysis techniques, as hazards tend to be decomposed down in a functional way. In this paper we initially explore how existing techniques may be adapted to provide the required results. We then go on to examine how these safety properties and requirements may be represented in a useful and meaningful way. We propose to use safety contracts for classes as a way of capturing safety requirements in an OO system. These contracts are constructed through analysis of functional, timing and value aspects of interactions within the system. We look at how these contracts can be incorporated into the system design and then used to verify that a system is safe. We go on to explore how the use of safety contracts facilitates maintainability and reuse.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Developing Successful Modular Arguments for Object Oriented Systems

In previous work, we have independently reasoned about developing “safe” object-oriented (OO) systems, and constructing modular safety arguments. One of the challenges currently under consideration is how to successfully certify safety-critical OO systems developed using this approach. It was concluded that in order to maintain the desirable properties of OO systems such as re-use and inheritan...

متن کامل

Safety case architectures to complement a contract-based approach to designing safe systems

The benefits of using contracts when developing software for safety-critical systems are wideranging. Using contracts the cost of maintaining, reusing and changing/upgrading software components is lessened as developers may rework software components with knowledge of the constraints placed upon them. Our previous work has looked at how design and safety contracts may be generated for component...

متن کامل

Using safety contracts in the development of safety critical object-oriented systems

Developers of safety critical software are becoming increasingly interested in using the objectoriented paradigm. If a developer is to use an object-oriented approach successfully in safety critical applications they must be able to demonstrate that the resulting software system is sufficiently safe to operate. There are a number of existing approaches to developing safe software however these ...

متن کامل

Robustness and Diagnosability of OO Systems Designed by Contracts

While there is a growing interest for componentbased systems in industry,little effort has so far been devoted to quality evaluation of these systems. This paper presents the definition of measures for two quality factors, namely robustness and “diagnosability” for the special case of OO systems for which thee approach known as Design by Contract has been used. The main steps in constructing th...

متن کامل

Lecture Notes on Dynamical Systems & Dynamic Axioms

Lecture 4 on Safety & Contracts demonstrated how useful and crucial CPS contracts are for CPS. Their role and understanding goes beyond dynamic testing, though. In CPS, proven CPS contracts are infinitely more valuable than dynamically tested contracts, because dynamical tests of contracts at runtime of a CPS generally leave open very little flexibility for reacting to them in any safe way. Aft...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2003